<!DOCTYPE html>
<html>
<head>
    {include file="../application/common/header.html" /}
</head>

<body>
    <table id="youxiaolv_target_confdg">
        <thead>
            <tr>
                <th data-options="field:'ID',checkbox:true">ID</th>
                <th data-options="field:'年级ID',title:'年级',width:20,editor:{type:'combobox',options:{
                required:true,
                url:'/compent/Util/gradeNameList.html'
                }},formatter:function(value,row,index){
                    return row.年级名称;
                }"></th>
                <th data-options="field:'班级层次',title:'班级层次',width:40,editor:{type:'combobox',options:{required:true,
                data:[{'value':'0','text':'天佑班'},{'value':'1','text':'有为班'},{'value':'2','text':'火箭班'},{'value':'3','text':'国际班'}]
                }},
                formatter: function(value, row, index) {
                    if(value == 0) return '天佑班';
                    else if(value == 1) return '有为班';
                    else if(value == 2) return '火箭班';
                    else if(value == 3) return '国际班';
                    return '';
                }"></th>
                <th data-options="field:'第一指标线',title:'第一指标线',width:40,editor:{type:'numberbox',options:{required:true}}"></th>
                <th data-options="field:'第一指标数',title:'第一指标数',width:40,editor:{type:'numberbox',options:{required:true}}"></th>
                <th data-options="field:'第二指标线',title:'第二指标线',width:40,editor:{type:'numberbox',options:{required:true}}"></th>
                <th data-options="field:'第二指标数',title:'第二指标数',width:40,editor:{type:'numberbox',options:{required:true}}"></th>
            </tr>
        </thead>
    </table>

    <script type="text/javascript">
        $(function(){
            var url = "/examScore/youxiaolv_target_conf";
            initDatagridAdmin("youxiaolv_target_conf",url,1,1,1,1,0);
        })  
    </script>
</body>
</html>